import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import reportWebVitals from './reportWebVitals';
import 'antd-mobile/dist/antd-mobile.css';
import Router from "./router";
import axios from 'axios'
import {Provider} from "react-redux";
import store from "./store/index";
axios.defaults.baseURL='http://localhost:9000/'
React.Component.prototype.$http = axios
ReactDOM.render(
    <Provider store={store}>
        <React.StrictMode>
            <Router/>
        </React.StrictMode>
    </Provider>
  ,
  document.getElementById('root')
);

reportWebVitals();
